home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 142
/
Volume 142 Oct 17 2011 - Damaged.iso
/
Games
/
scattered-bolts.swf
/
scripts
/
frame_8
/
PlaceObject2_113_91
/
CLIPACTIONRECORD onClipEvent(enterFrame).as
next >
Wrap
Text File
|
2011-10-17
|
6KB
|
208 lines
onClipEvent(enterFrame){
function §\x04\x05§()
{
set("\x03",48 % 511 * true);
§§push("\x03");
if("\x01")
{
}
return eval(§§pop());
}
var §\x01§ = 297 + "\x04\x05"();
while(true)
{
if(eval("\x01") == 345)
{
set("\x01",eval("\x01") + 630);
§§push(true);
}
else
{
if(eval("\x01") == 679)
{
set("\x01",eval("\x01") - 306);
break;
}
if(eval("\x01") == 975)
{
set("\x01",eval("\x01") - 296);
if(function §\x04\x05§()
{
set("\x03",48 % 511 * true);
§§push("\x03");
if("\x01")
{
}
return eval(§§pop());
})
{
set("\x01",eval("\x01") - 306);
}
}
else if(eval("\x01") == 373)
{
set("\x01",eval("\x01") - 336);
}
else if(eval("\x01") == 287)
{
set("\x01",eval("\x01") + 547);
§§push(eval(function §\x04\x05§()
{
set("\x03",48 % 511 * true);
§§push("\x03");
if("\x01")
{
}
return eval(§§pop());
}));
}
else if(eval("\x01") == 898)
{
set("\x01",eval("\x01") - 861);
}
else
{
if(eval("\x01") == 824)
{
set("\x01",eval("\x01") - 701);
§�Q�§++;
setProperty("Ξm", _Y, getProperty("Ξm", _Y) + eval("�Q�"));
while(eval("-^\x03")["Z�"]["�r�f"](getProperty("Ξm", _X),getProperty("Ξm", _Y),true))
{
getProperty("Ξm", _Y)--;
set("�Q�",0);
}
if(_root.enabled)
{
if(Key.isDown(39))
{
_X = _X + speed;
_xscale = scale;
if(_root.ground.hitTest(_X,_Y + 3,true))
{
this.gotoAndStop(1);
}
else
{
this.gotoAndStop(2);
}
}
else if(Key.isDown(37))
{
_X = _X - speed;
_xscale = - scale;
if(_root.ground.hitTest(_X,_Y + 3,true))
{
this.gotoAndStop(1);
}
else
{
this.gotoAndStop(2);
}
}
else if(_root.ground.hitTest(_X,_Y + 3,true) && !Key.isDown(79))
{
this.gotoAndStop(3);
}
}
if(Key.isDown(79) && !Key.isDown(37) && !Key.isDown(40) && !Key.isDown(39) && !Key.isDown(38) && !Key.isDown(32))
{
this.gotoAndStop(4);
}
if(Key.isDown(32) && _root.ground.hitTest(_X,_Y + 3,true))
{
grav = - jumpHeight;
_Y = _Y - 4;
this.gotoAndStop(2);
}
if(Key.isDown(38) && _root.ground.hitTest(_X,_Y + 3,true))
{
grav = - jumpHeight;
_Y = _Y - 4;
this.gotoAndStop(2);
}
if(_root.ground.hitTest(_X + _width / 2,_Y - _height / 2,true) || _root.ground.hitTest(_X + _width / 2,_Y - _height / 6 * 4,true))
{
_X = _X - speed;
}
if(_root.ground.hitTest(_X - _width / 2,_Y - _height / 2,true) || _root.ground.hitTest(_X - _width / 2,_Y - _height / 6 * 4,true))
{
_X = _X + speed;
}
if(_root.ground.hitTest(_X,_Y - _height,true))
{
grav = 2;
}
break;
}
if(eval("\x01") == 62)
{
set("\x01",eval("\x01") + 386);
if(function §\x04\x05§()
{
set("\x03",48 % 511 * true);
§§push("\x03");
if("\x01")
{
}
return eval(§§pop());
})
{
set("\x01",eval("\x01") + 376);
}
}
else if(eval("\x01") == 37)
{
set("\x01",eval("\x01") + 758);
§§push("\x0f");
§§push(1);
}
else if(eval("\x01") == 448)
{
set("\x01",eval("\x01") + 376);
}
else if(eval("\x01") == 593)
{
set("\x01",eval("\x01") - 306);
§§push("\x0f");
}
else if(eval("\x01") == 795)
{
set("\x01",eval("\x01") - 202);
var §§pop() = function §\x04\x05§()
{
set("\x03",48 % 511 * true);
§§push("\x03");
if("\x01")
{
}
return eval(§§pop());
};
}
else
{
if(eval("\x01") != 834)
{
if(eval("\x01") == 123)
{
set("\x01",eval("\x01") - 123);
break;
}
break;
}
set("\x01",eval("\x01") - 772);
§§push(!function §\x04\x05§()
{
set("\x03",48 % 511 * true);
§§push("\x03");
if("\x01")
{
}
return eval(§§pop());
});
}
}
}
}
}